<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.prime.com.tr/ui">

<h:head></h:head>
<body>
	<ui:composition template="/WEB-INF/templates/headerFooter.xhtml">
		<ui:define name="content">
			<h:form>
			All UMDNS codes:
			<p:dataTable value="#{umdnsController.umdnsTable.umdnsList}"
					var="item" emptyMessage="Sorry, table is empty">
					<f:facet name="header"> UMDNS codes</f:facet>

					<p:column headerText="Code">
						<h:outputText value="#{item.genericAssetCode}" />
					</p:column>

					<p:column headerText="Name">
						<h:outputText value="#{item.genericAssetName}" />
					</p:column>

					<p:column headerText="Picture">
						<h:outputText value="#{item.genericPicture}" />
					</p:column>
				</p:dataTable>
			</h:form>
		</ui:define>
		
		<!-- redefine left bar -->
		<ui:define name="leftOuter"></ui:define>
		<!-- redefine right bar -->
		<ui:define name="rightOuter"></ui:define>
	</ui:composition>
</body>
</html>
